﻿using System;
using System.Windows.Forms;
using rsp.messages;
using rsp.portal;

namespace tests.rsp.portal
{
  static class Program
  {
      [STAThread]
      static void Main() {

          Application.EnableVisualStyles();
          Application.SetCompatibleTextRenderingDefault(false);

          var portal = new Portal();
          portal.OnPrüftext += (x => portal.ProcessWortVergleich(x.Value == "true" ? new OhneFehler(true) : new OhneFehler(false)));

          Application.Run(portal);
    }
  }
}
